//
//  Clothes.m
//  OC作业
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "Clothes.h"

@implementation Clothes

//- (void)setStyle:(NSString *)style{
//    _style = style;
//}
//- (NSString *)style{
//    return _style;
//}
//
//- (void)setSize:(NSString *)size{
//    _size = size;
//}
//
//- (NSString *)size{
//    return _size;
//}

- (instancetype)initWithStyle:(NSString *)style
                         size:(NSString *)size{
    
    self = [super init];
    if (self) {
        _style = style;
        _size = size;
     }
    return self;
}



+ (instancetype)clothesWithStyle:(NSString *)style
                            size:(NSString *)size{
    
    Clothes *clo = [[Clothes alloc]initWithStyle:style size:size];
    return clo;
}









@end
